﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PluginCommon
{
    public partial class PluginFormBase : Form
    {
        public delegate void RequestCommandHander(object sender, RequestCommandEventArgs e);

        public event RequestCommandHander RequestCommand;

        public PluginFormBase()
        {
            InitializeComponent();
            TopLevel = false;
            skinEngine.SkinFile = string.Format("{0}\\Skin\\MacOS.ssk", Application.StartupPath);
        }

        public void DoRequestCommand(object sender, RequestCommandEventArgs e)
        {
            RequestCommand(sender, e);
        }

        public virtual void HandleMainProgramMessage(MainProgramMessage message)
        {
            
        }
    }
}
